﻿using System;
using System.Runtime.InteropServices;
using System.Text;

namespace Valve.VR
{
	// Token: 0x0200079B RID: 1947
	public class CVRDriverManager
	{
		// Token: 0x06002F17 RID: 12055 RVA: 0x000F3E24 File Offset: 0x000F2024
		internal CVRDriverManager(IntPtr pInterface)
		{
			this.FnTable = (IVRDriverManager)Marshal.PtrToStructure(pInterface, typeof(IVRDriverManager));
		}

		// Token: 0x06002F18 RID: 12056 RVA: 0x000F3E48 File Offset: 0x000F2048
		public uint GetDriverCount()
		{
			return this.FnTable.GetDriverCount();
		}

		// Token: 0x06002F19 RID: 12057 RVA: 0x000F3E68 File Offset: 0x000F2068
		public uint GetDriverName(uint nDriver, StringBuilder pchValue, uint unBufferSize)
		{
			return this.FnTable.GetDriverName(nDriver, pchValue, unBufferSize);
		}

		// Token: 0x04002AEB RID: 10987
		private IVRDriverManager FnTable;
	}
}
